// JavaScript Document
function valbutton(thisform,objname) {
	var objradio = thisform.radioTK;
	var radioLength = objradio.length;
	var id, i;
	if(!radioLength){
		id = objradio.value;		
	}else{
		for(i = 0; i < radioLength; i++){
			if(thisform.radioTK[i].checked){
				id = thisform.radioTK[i].value;
				break;
			}
		}
	}
	var name = id.split('-');	
	//alert(objname);
	var lblname = objname.split('-');
	var obj1 = window.opener.document.getElementById(lblname[0]);
	var obj2 = window.opener.document.getElementById(lblname[1]);
	if(obj1){
		obj1.value = name[0];		
	}
	if(obj2){
		obj2.value = name[1];
	}
	
	window.close();
}